{% extends 'home_base.html' %}
{% block title %}
<title>博客园</title>
{% endblock %}
{% block content %}
    <div class="article-list">
                {% for article in current_page %}
                    <div class="article-item">
                        <h3 class="article-title"><a href="/{{ username }}/articles/{{ article.nid }}">{{ article.title }}</a></h3>
                        <div class="article-desc">
                                <span class="media-right">
                                    {{ article.desc }}
                                </span>
                        </div>
                        <div class="pub-info small pull-right clearfix">
                            <span>posted @{{ username }}</span> &nbsp;&nbsp;
                            <span>发布于&nbsp;{{ article.create_time|date:'Y-m-d H:i' }}</span>&nbsp;&nbsp;
                            <span class="glyphicon glyphicon-comment"></span><span>评论({{ article.comment_count }})</span>&nbsp;&nbsp;
                            <span class="glyphicon glyphicon-thumbs-up"></span><span>点赞({{ article.up_count }})</span>
                        </div>
                    </div>
                    <hr>
                {% endfor %}

            </div>
{% endblock %}